
<table id="jfx-workspaces-list">
<tbody>
    <tr>
        <th>
            Workspace Name
        </th>
        <th>
            Is Live
        </th>
        <th>
            Assigned Users
        </th>
        <th>
            Actions
        </th>
    </tr>

    {section loop=$workspaces name=i}
        <tr>
            <td>{$workspaces[i].title}</td>
            <td>
                {if $workspaces[i].is_live == 1}
                    Yes
                {else}
                    No
                {/if}
            </td>
            <td>
                <ul>
                {section loop=$workspaces[i].users name=i2}
                    <li>{$workspaces[i].users[i2].username}</li>
                {/section}
                </ul>
            </td>
            <td>
                <a href="{$adminUrl}/config/workspaces/assign?workspace={$workspaces[i].id}">Assign Users</a>
            </td>
        </tr>
    {/section}
</tbody>
</table>